package com.hb.core.pojo.enums;


import lombok.Getter;

/**
 * API接口权限访问限制类型
 */
@Getter
public enum ApiFilterType {
    ALLOWED(1, "可以访问"),
    NOT_ALLOWED(2, "不允许访问");

    private final int code;
    private final String showName;

    ApiFilterType(Integer code, String showName) {
        this.code = code;
        this.showName = showName;
    }
}